﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Infrastructure.Extension
{
    /// <summary>
	/// This attribute is intended to mark publicly available API
	/// which should not be removed and so is treated as used
	/// </summary>
	[MeansImplicitUse]
    public sealed class PublicAPIAttribute : Attribute
    {
        public PublicAPIAttribute()
        {
        }

        public PublicAPIAttribute([NotNull] string comment)
        {
            Comment = comment;
        }

        [NotNull]
        public string Comment { get; private set; }
    }
}
